<template>
  <div>
    <zw-codemirror  class="zw-code" theme="material" mode="javascript" >
      <link rel="stylesheet" href="codemirror/codemirror.css">
      <link rel="stylesheet" href="codemirror/theme/material.css">
      <textarea type="wc-content" v-html="content"></textarea>
    </zw-codemirror>
  </div>
</template>

<script>
export default {
  name: 'ZCodeMirror',
  props: {
    content:String
  },
}
</script>
